﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Common.RunModels.Base
{
    public class TranslateRequest : TranslateReponseData
    {
        public string sysCode { get; set; }
    }

    public class TranslateReponse
    {
        public string message { get; set; }

        public int code { get; set; }

        public TranslateReponseData data { get; set; } = new TranslateReponseData();
    }

    public class TranslateReponseData
    {
        /// <summary>
        /// 原语言
        /// </summary>
        public string srcLang { get; set; }

        /// <summary>
        /// 目标语言
        /// </summary>
        public string tgtLang { get; set; }

        /// <summary>
        /// 转译文本
        /// </summary>
        public List<string> text { get; set; } = new List<string>();
    }
}
